// src/components/KnowledgeLayout.tsx
import React from "react"
import { Outlet } from "react-router-dom" // 用于渲染子路由组件
import styles from "./KnowledgeLayout.module.scss" // 引入样式
import { Layout, Menu } from "antd"
import KnowledgeSider from "./KnowledgeSider"

const { Content, Sider } = Layout

const KnowledgeLayout: React.FC = () => {
  return (
    <Layout style={{ padding: "24px 0", background: "#fff" }}>
      <KnowledgeSider />
      <Content style={{ padding: "0 24px", minHeight: 280 }}>
        <Outlet />
      </Content>
    </Layout>
  )
}

export default KnowledgeLayout
